package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

@FieldTypeAnnotation(tableName = "t_l_ck_banquet_integral", desc = "宴会积分变更", autoSave = true, uploadCk = true)
public class LogBanquetIntegral extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "用户id", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "原始值")
    private long originalIntegral;
    @FieldTypeAnnotation(desc = "当前值")
    private long nowIntegral;
    @FieldTypeAnnotation(desc = "变更值")
    private long addIntegral;
    @FieldTypeAnnotation(desc = "master途径")
    private int master;
    @FieldTypeAnnotation(desc = "son途径")
    private int son;

    public LogBanquetIntegral(long userId, long originalIntegral, long nowIntegral, long addIntegral, int master, int son) {
        this.userId = userId;
        this.originalIntegral = originalIntegral;
        this.nowIntegral = nowIntegral;
        this.addIntegral = addIntegral;
        this.master = master;
        this.son = son;
    }

    public long getUserId() {
        return userId;
    }
}
